package com.ly.heart.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ly.common.core.domain.AjaxResult;
import com.ly.heart.domain.KingPurchaseTermsEntity;

/**
 * 金蝶-采购条款Service接口
 * @author cxl
 * @date 2024-06-23
 */
public interface IKingPurchaseTermsService extends IService<KingPurchaseTermsEntity> {
    /**
     * 查询金蝶-采购条款
     * @param id 金蝶-采购条款ID
     * @return 金蝶-采购条款
     */
    KingPurchaseTermsEntity selectKingPurchaseTermsEntityById (String id);

    /**
     * 查询金蝶-采购条款列表
     * @param kingPurchaseTermsEntity 金蝶-采购条款
     * @return 金蝶-采购条款集合
     */
    AjaxResult selectKingPurchaseTermsEntityList (KingPurchaseTermsEntity kingPurchaseTermsEntity);

    /**
     * 新增金蝶-采购条款
     * @param kingPurchaseTermsEntity 金蝶-采购条款
     * @return 结果
     */
    AjaxResult draft (KingPurchaseTermsEntity kingPurchaseTermsEntity);

    AjaxResult submit (KingPurchaseTermsEntity kingPurchaseTermsEntity);

    /**
     * 修改金蝶-采购条款
     * @param kingPurchaseTermsEntity 金蝶-采购条款
     * @return 结果
     */
    AjaxResult updateKingPurchaseTermsEntity (KingPurchaseTermsEntity kingPurchaseTermsEntity);

    /**
     * 批量删除金蝶-采购条款
     * @param ids 需要删除的金蝶-采购条款ID
     * @return 结果
     */
    AjaxResult deleteKingPurchaseTermsEntityByIds (String[] ids);

    AjaxResult disabled (String id);

}
